<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class application\modules\article\model\Article | IBOS open source</title>

	<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
	<link rel="stylesheet" href="resources/style.css?49f43d3208c5d7e33fa16d36107a345bf11cc00d">

</head>

<body>
	<nav id="navigation" class="navbar navbar-default navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="index.html" class="navbar-brand">IBOS open source</a>
			</div>
			<div class="collapse navbar-collapse">

                <form id="search" class="navbar-form navbar-left" role="search">
                    <input type="hidden" name="cx" value="">
                    <input type="hidden" name="ie" value="UTF-8">
                    <div class="form-group">
                        <input type="text" name="q" class="search-query form-control" placeholder="Search">
					</div>
				</form>

				<ul class="nav navbar-nav">
					<li>
						<a href="namespace-application.modules.article.model.html" title="Summary of application\modules\article\model"><span>Namespace</span></a>
					</li>
					<li class="active">
<span>Class</span>					</li>





				</ul>
			</div>
		</div>
	</nav>

	<div id="left">
	<div id="menu">

		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
					<li class="active">
						<a href="namespace-application.html">
							application<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.core.html">
							core<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.core.cache.html">
							cache<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.core.cache.driver.html">
							driver						</a>
							</li>
					<li>
						<a href="namespace-application.core.cache.provider.html">
							provider						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.core.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.core.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.core.engines.html">
							engines<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.core.engines.local.html">
							local						</a>
							</li>
					<li>
						<a href="namespace-application.core.engines.sae.html">
							sae						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.core.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.core.modules.html">
							modules						</a>
							</li>
					<li>
						<a href="namespace-application.core.utils.html">
							utils						</a>
							</li>
					<li>
						<a href="namespace-application.core.widgets.html">
							widgets						</a>
							</li>
								</ul></li>
					<li class="active">
						<a href="namespace-application.modules.html">
							modules<span></span>
						</a>
							<ul>
					<li class="active">
						<a href="namespace-application.modules.article.html">
							article<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.article.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.article.core.html">
							core						</a>
							</li>
					<li class="active">
						<a href="namespace-application.modules.article.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.article.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.calendar.html">
							calendar<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.calendar.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.calendar.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.calendar.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.contact.html">
							contact<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.contact.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.contact.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.contact.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.dashboard.html">
							dashboard<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.dashboard.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.dashboard.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.dashboard.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.department.html">
							department<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.department.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.department.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.department.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.diary.html">
							diary<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.diary.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.diary.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.diary.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.diary.utils.html">
							utils						</a>
							</li>
					<li>
						<a href="namespace-application.modules.diary.widgets.html">
							widgets						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.email.html">
							email<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.email.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.email.core.html">
							core						</a>
							</li>
					<li>
						<a href="namespace-application.modules.email.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.email.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.main.html">
							main<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.main.behaviors.html">
							behaviors						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.utils.html">
							utils						</a>
							</li>
					<li>
						<a href="namespace-application.modules.main.widgets.html">
							widgets						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.message.html">
							message<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.message.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.message.core.html">
							core<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.message.core.co.html">
							co						</a>
							</li>
					<li>
						<a href="namespace-application.modules.message.core.wx.html">
							wx<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.message.core.wx.callback.html">
							callback						</a>
							</li>
					<li>
						<a href="namespace-application.modules.message.core.wx.event.html">
							event						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-application.modules.message.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.message.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.mobile.html">
							mobile<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.mobile.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.mobile.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.mobile.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.position.html">
							position<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.position.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.position.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.position.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.recruit.html">
							recruit<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.recruit.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.core.html">
							core						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.utils.html">
							utils						</a>
							</li>
					<li>
						<a href="namespace-application.modules.recruit.widgets.html">
							widgets						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.role.html">
							role<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.role.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.role.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.user.html">
							user<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.user.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.user.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.user.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.user.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.vote.html">
							vote<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.vote.components.html">
							components						</a>
							</li>
					<li>
						<a href="namespace-application.modules.vote.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.vote.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.vote.utils.html">
							utils						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-application.modules.weibo.html">
							weibo<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-application.modules.weibo.controllers.html">
							controllers						</a>
							</li>
					<li>
						<a href="namespace-application.modules.weibo.core.html">
							core						</a>
							</li>
					<li>
						<a href="namespace-application.modules.weibo.model.html">
							model						</a>
							</li>
					<li>
						<a href="namespace-application.modules.weibo.utils.html">
							utils						</a>
							</li>
								</ul></li></ul></li></ul></li>
			</ul>
		</div>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li class="active"><a href="class-application.modules.article.model.Article.html">Article</a></li>
				<li><a href="class-application.modules.article.model.ArticleApproval.html">ArticleApproval</a></li>
				<li><a href="class-application.modules.article.model.ArticleBack.html">ArticleBack</a></li>
				<li><a href="class-application.modules.article.model.ArticleCategory.html">ArticleCategory</a></li>
				<li><a href="class-application.modules.article.model.ArticlePicture.html">ArticlePicture</a></li>
				<li><a href="class-application.modules.article.model.ArticleReader.html">ArticleReader</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
	<div id="rightInner">
<div id="content" class="class">
	<h1>Class Article</h1>



	<dl class="tree well">
		<dd style="padding-left:0px">
CActiveRecord
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by">
			<a href="class-application.core.model.Model.html"><span>application\core\model\Model</span></a>
			
			
			
		</dd>
		<dd style="padding-left:60px">
			<img src="resources/inherit.png" alt="Extended by">
<b><span>application\modules\article\model\Article</span></b>			
			
			
		</dd>
	</dl>








	<div class="alert alert-info">
		
		
		<b>Namespace:</b> <a href="namespace-application.html">application</a>\<a href="namespace-application.modules.html">modules</a>\<a href="namespace-application.modules.article.html">article</a>\<a href="namespace-application.modules.article.model.html">model</a><br>
		

				<b>Copyright:</b>
				Copyright &copy; 2008-2013 IBOS Inc<br>
				<b>Author:</b>
				Ring <a href="&#x6d;&#97;&#x69;&#108;&#116;&#x6f;&#58;R&#x69;&#110;&#x67;&#x40;&#105;&#x62;&#111;s&#x2e;&#99;&#x6f;&#x6d;&#46;&#x63;&#110;">R&#x69;&#110;&#x67;&#x40;&#105;&#x62;&#111;s&#x2e;&#99;&#x6f;&#x6d;&#46;&#x63;&#110;</a><br>
			<b>Located at</b> system/modules/article/model/Article.php		<br>
	</div>



		<div class="panel panel-default">
			<div class="panel-heading"><h2>Methods summary</h2></div>
			<table class="summary table table-bordered table-striped methods" id="methods">
		<tr data-order="model" id="_model">

			<td class="attributes"><code>
				 public static
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_model">#</a>
			<code>model( <span> <var>$className</var> = __CLASS__ </span> )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				







			</div>
			</div></td>
		</tr>
		<tr data-order="tableName" id="_tableName">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_tableName">#</a>
			<code>tableName( )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				







			</div>
			</div></td>
		</tr>
		<tr data-order="fetchAllAndPage" id="_fetchAllAndPage">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_fetchAllAndPage">#</a>
			<code>fetchAllAndPage( <span>string <var>$conditions</var> = <span class="php-quote">''</span></span>, <span>integer <var>$pageSize</var> = <span class="php-keyword1">null</span> </span> )</code>

			<div class="description short">
				<p>根据条件，查询出对应数据，返回一个数组，其中数组元素中的pages为翻页所需的数据，datas为列表所需的数据</p>

<pre><span class="php-keyword1">array</span>( <span class="php-quote">'pages'</span> =&gt; <span class="php-var">$pages</span>, <span class="php-quote">'datas'</span> =&gt; <span class="php-var">$datas</span> );</pre>
			</div>

			<div class="description detailed hidden">
				<p>根据条件，查询出对应数据，返回一个数组，其中数组元素中的pages为翻页所需的数据，datas为列表所需的数据</p>

<pre><span class="php-keyword1">array</span>( <span class="php-quote">'pages'</span> =&gt; <span class="php-var">$pages</span>, <span class="php-quote">'datas'</span> =&gt; <span class="php-var">$datas</span> );</pre>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$conditions</var></dt>
						<dd>查询条件 default='';</dd>
						<dt><var>$pageSize</var></dt>
						<dd>default=null;每页显示的数据条数</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="fetchAllFieldValueByArticleids" id="_fetchAllFieldValueByArticleids">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_fetchAllFieldValueByArticleids">#</a>
			<code>fetchAllFieldValueByArticleids( <span><code><a href="class-application.core.utils.String.html">application\core\utils\String</a></code> <var>$field</var></span>, <span>integer <var>$articleids</var></span> )</code>

			<div class="description short">
				<p>根据articleid获取一个指定字段的所有值</p>
			</div>

			<div class="description detailed hidden">
				<p>根据articleid获取一个指定字段的所有值</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$field</var></dt>
						<dd>字段名</dd>
						<dt><var>$articleids</var></dt>
						<dd>文章ids</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="cancelTop" id="_cancelTop">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_cancelTop">#</a>
			<code>cancelTop( )</code>

			<div class="description short">
				<p>取消已过期的置顶</p>
			</div>

			<div class="description detailed hidden">
				<p>取消已过期的置顶</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="updateTopStatus" id="_updateTopStatus">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_updateTopStatus">#</a>
			<code>updateTopStatus( <span>string <var>$ids</var></span>, <span>integer <var>$isTop</var></span>, <span>integer <var>$topTime</var></span>, <span>integer <var>$topEndTime</var></span> )</code>

			<div class="description short">
				<p>设置/取消置顶</p>
			</div>

			<div class="description detailed hidden">
				<p>设置/取消置顶</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$ids</var></dt>
						<dd>要设置或取消的id</dd>
						<dt><var>$isTop</var></dt>
						<dd>状态</dd>
						<dt><var>$topTime</var></dt>
						<dd>置顶时间</dd>
						<dt><var>$topEndTime</var></dt>
						<dd>置顶结束时间</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="updateIsOverHighLight" id="_updateIsOverHighLight">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_updateIsOverHighLight">#</a>
			<code>updateIsOverHighLight( )</code>

			<div class="description short">
				<p>取消已过期高亮</p>
			</div>

			<div class="description detailed hidden">
				<p>取消已过期高亮</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="updateHighlightStatus" id="_updateHighlightStatus">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_updateHighlightStatus">#</a>
			<code>updateHighlightStatus( <span>string <var>$ids</var></span>, <span>integer <var>$ishighlight</var></span>, <span>string <var>$highlightstyle</var></span>, <span>integer <var>$highlightendtime</var></span> )</code>

			<div class="description short">
				<p>设置/取消高亮</p>
			</div>

			<div class="description detailed hidden">
				<p>设置/取消高亮</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$ids</var></dt>
						<dd>要设置或取消的id</dd>
						<dt><var>$ishighlight</var></dt>
						<dd>状态</dd>
						<dt><var>$highlightstyle</var></dt>
						<dd>高亮样式</dd>
						<dt><var>$highlightendtime</var></dt>
						<dd>高亮结束时间</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="deleteAllByArticleIds" id="_deleteAllByArticleIds">

			<td class="attributes"><code>
				 public 
				integer
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_deleteAllByArticleIds">#</a>
			<code>deleteAllByArticleIds( <span>string <var>$ids</var></span> )</code>

			<div class="description short">
				<p>根据文章id，删除所有符合的数据</p>
			</div>

			<div class="description detailed hidden">
				<p>根据文章id，删除所有符合的数据</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$ids</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						integer
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="updateAllStatusAndApproverByPks" id="_updateAllStatusAndApproverByPks">

			<td class="attributes"><code>
				 public 
				integer
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_updateAllStatusAndApproverByPks">#</a>
			<code>updateAllStatusAndApproverByPks( <span>string <var>$ids</var></span>, <span>integer <var>$approver</var></span>, <span>string <var>$status</var> = <span class="php-num">1</span> </span> )</code>

			<div class="description short">
				<p>根据文章ids更新所有符合条件的文章的状态和审批人</p>
			</div>

			<div class="description detailed hidden">
				<p>根据文章ids更新所有符合条件的文章的状态和审批人</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$ids</var></dt>
						<dd>文章ids</dd>
						<dt><var>$approver</var></dt>
						<dd>审批人uid</dd>
						<dt><var>$status</var></dt>
						<dd>状态，默认为1公开</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						integer<br>被更新的行数
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="updateAllCatidByArticleIds" id="_updateAllCatidByArticleIds">

			<td class="attributes"><code>
				 public 
				integer
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_updateAllCatidByArticleIds">#</a>
			<code>updateAllCatidByArticleIds( <span>string <var>$ids</var></span>, <span>integer <var>$catid</var></span> )</code>

			<div class="description short">
				<p>根据文章ids，更新所有符合条件的分类</p>
			</div>

			<div class="description detailed hidden">
				<p>根据文章ids，更新所有符合条件的分类</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$ids</var></dt>
						<dd></dd>
						<dt><var>$catid</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						integer
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="updateClickCount" id="_updateClickCount">

			<td class="attributes"><code>
				 public 
				integer
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_updateClickCount">#</a>
			<code>updateClickCount( <span>integer <var>$id</var></span>, <span>integer <var>$clickCount</var> = <span class="php-num">0</span> </span> )</code>

			<div class="description short">
				<p>更新文章点击数量</p>
			</div>

			<div class="description detailed hidden">
				<p>更新文章点击数量</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$id</var></dt>
						<dd>文章id</dd>
						<dt><var>$clickCount</var></dt>
						<dd>点击数，默认为0</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						integer
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getSourceInfo" id="_getSourceInfo">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getSourceInfo">#</a>
			<code>getSourceInfo( <span>integer <var>$id</var></span> )</code>

			<div class="description short">
				<p>兼容Source接口</p>
			</div>

			<div class="description detailed hidden">
				<p>兼容Source接口</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$id</var></dt>
						<dd>资源ID</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="fetchUnApprovalArtIds" id="_fetchUnApprovalArtIds">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_fetchUnApprovalArtIds">#</a>
			<code>fetchUnApprovalArtIds( <span>mixed <var>$catid</var></span>, <span>integer <var>$uid</var></span> )</code>

			<div class="description short">
				<p>根据分类id获取某个uid的未审核文章id</p>
			</div>

			<div class="description detailed hidden">
				<p>根据分类id获取某个uid的未审核文章id</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$catid</var></dt>
						<dd>分类id</dd>
						<dt><var>$uid</var></dt>
						<dd>用户id</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getArticleCount" id="_getArticleCount">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getArticleCount">#</a>
			<code>getArticleCount( <span>string <var>$type</var></span>, <span>integer <var>$uid</var></span>, <span>type <var>$catid</var> = <span class="php-num">0</span></span>, <span>type <var>$condition</var> = <span class="php-quote">''</span></span> )</code>

			<div class="description short">
				<p>未读，待审核，草稿 统计数</p>
			</div>

			<div class="description detailed hidden">
				<p>未读，待审核，草稿 统计数</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$type</var></dt>
						<dd></dd>
						<dt><var>$uid</var></dt>
						<dd></dd>
						<dt><var>$catid</var></dt>
						<dd></dd>
						<dt><var>$condition</var></dt>
						<dd></dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
			</table>
		</div>

		<div class="panel panel-default">
	        <div class="panel-heading"><h3>Methods inherited from <a href="class-application.core.model.Model.html#methods">application\core\model\Model</a></h3></div>
			<p class="elementList">
				<code><a href="class-application.core.model.Model.html#_add">add()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_beforeDelete">beforeDelete()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_create">create()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_deleteByPk">deleteByPk()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetch">fetch()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetchAll">fetchAll()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetchAllByAttributes">fetchAllByAttributes()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetchAllByPk">fetchAllByPk()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetchAllSortByPk">fetchAllSortByPk()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetchByAttributes">fetchByAttributes()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetchByPk">fetchByPk()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetchCache">fetchCache()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_fetchCaches">fetchCaches()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_getCacheKey">getCacheKey()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_getIsAllowCache">getIsAllowCache()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_getMaxId">getMaxId()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_getModelClass">getModelClass()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_init">init()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_modify">modify()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_remove">remove()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_updateAll">updateAll()</a></code>, 
				<code><a href="class-application.core.model.Model.html#_updateByPk">updateByPk()</a></code>
			</p>
		</div>










		<div class="panel panel-default">
            <div class="panel-heading"><h2>Properties summary</h2></div>
		</div>

		<div class="panel panel-default">
            <div class="panel-heading"><h3>Properties inherited from <a href="class-application.core.model.Model.html#properties">application\core\model\Model</a></h3></div>
			<p class="elementList">
				<code><a href="class-application.core.model.Model.html#$allowCache"><var>$allowCache</var></a></code>, 
				<code><a href="class-application.core.model.Model.html#$cacheLife"><var>$cacheLife</var></a></code>
			</p>
		</div>





</div>
	</div>

	<div id="footer">
		IBOS open source API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
